package com.gzhryc.shared_device.bxscn.code.dao.models;

import com.gzhryc.common.NumberTools;

import java.util.ArrayList;
import java.util.List;

/**
 * 电池类型日租金配置
 */
public class BXSCNBatteryTypeDayMoneyContent {

    private List<Item> items;

    public BXSCNBatteryTypeDayMoneyContent(){
        this.items = new ArrayList<>();
    }

    public List<Item> getItems() {
        return items;
    }

    public void setItems(List<Item> items) {
        this.items = items;
    }

    public static class Item {

        private Integer leaseDay;
        private Integer money;

        public Integer getLeaseDay() {
            return leaseDay;
        }

        public void setLeaseDay(Integer leaseDay) {
            this.leaseDay = leaseDay;
        }

        public Integer getMoney() {
            return money;
        }

        public void setMoney(Integer money) {
            this.money = money;
        }

        public String getMoneyStr(){
            return NumberTools.getMoneyStr(money);
        }
    }
}
